package com.baogu.factoryjob.mapper;

import com.baogu.model.job.TerminalCollection;
import com.baogu.model.job.where.TerminalCollectionWhere;

import java.util.List;

public interface TerminalCollectionMapper {
    int deleteByPrimaryKey(String id);

    int insert(TerminalCollectionWhere record);

    int insertSelective(TerminalCollection record);

    int insertSelectiveLast(TerminalCollection record);

    TerminalCollection selectByPrimaryKey(String id);

    TerminalCollection selectLastData(TerminalCollectionWhere where);

    int updateByPrimaryKeySelective(TerminalCollection record);

    int updateByPrimaryKey(TerminalCollection record);

    int updateLastByPrimaryKeySelective(TerminalCollection record);

    void del(TerminalCollectionWhere where);

    void delLast(TerminalCollectionWhere where);
}